package com.tl.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tl.common.annotation.Excel;
import com.tl.common.core.domain.BaseEntity;

/**
 * 用户对象 app_user
 * 
 * @author suhp
 * @date 2024-07-07
 */
public class AppUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 用户呢称 */
    @Excel(name = "用户呢称")
    private String name;

    /** 用户code */
    @Excel(name = "用户code")
    private String code;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 等级 */
    @Excel(name = "等级")
    private String level;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wxh;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 状态() */
    @Excel(name = "状态()")
    private String status;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setWxh(String wxh) 
    {
        this.wxh = wxh;
    }

    public String getWxh() 
    {
        return wxh;
    }
    
    public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("name", getName())
            .append("code", getCode())
            .append("age", getAge())
            .append("tag", getTag())
            .append("sex", getSex())
            .append("level", getLevel())
            .append("wxh", getWxh())
            .append("avatar", getAvatar())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
